<template>
  <div class="box">
    <h3>sonA</h3>
    <button @click="btn">传</button>
  </div>
</template>
<script>
export default {
  name: 'SonA',
  methods: {
    btn() {
      this.$bus.$emit('atob', Math.random())
    }
  }
}
</script>
<style scoped lang="scss">
.box {
  width: 200px;
  height: 200px;
  background-color: skyblue;
}
</style>
